OpenAI 兼容接口OpenAI-compatible API
OpenAI-compatible API
本地跑的模型,用现成的 OpenAI 客户端就能连。Serve a local model so existing OpenAI clients can connect unchanged.
vLLM 官方提供兼容 OpenAI Completions、Chat Completions、Embeddings 等接口的 HTTP 服务。
llama.cpp 的服务端同样以 OpenAI 兼容 API 方式启动。
vLLM provides an HTTP server compatible with OpenAI's Completions, Chat Completions and Embeddings APIs.
llama.cpp's server likewise launches as an OpenAI-compatible API server.
换后端不用改代码,这是本地与云端之间最省事的切换方式。Swap backends without touching your code: the cheapest switch between local and cloud.
OpenAI 兼容 API
回到名词地图看第5段的其他 45 个词 →Back to the map: the other 45 terms in stage 5 →
别停在定义:去任务手册看按什么顺序做、验收什么;或者按你手头的任务,筛 3 个工具候选。Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.
任务手册 →Task handbooks → · 按任务筛 3 个候选 →Filter three candidates →